package com.twu.biblioteca;

public class InvalidOptionState implements State {

    public static State getInstance(){
        if (instance == null){
            instance = new InvalidOptionState();
        }

        return instance;
    }

    private static InvalidOptionState instance;

    public String menuLabel = "Invalid option!!";
    private InvalidOptionState() {

    }

    @Override
    public String getMenuLabel() {
        return menuLabel;
    }

    @Override
    public void setMenuLabel(String label) {
        menuLabel = label;
    }

    @Override
    public String[] getOptions() {
        return new String[0];
    }

    @Override
    public State[] getMenuStates() {
        return new State[0];  // TODO: get the states.
    }

    @Override
    public State reactToInput(int input) {
        return null;
    }
}
